<?php
  require_once 'tools/functions.php';
  //用户访问类型(电脑,手机)检查
  if(!$dont_check_mobile && isMobile()){
    header('Location: http://mobile.dudamobile.com/site/q3p_1');
  }


  if(isset($_COOKIE['uid']) && isset($_COOKIE['uname'])){
    $_SESSION['user_id'] = $_COOKIE['uid'];
    $_SESSION['user_name'] = $_COOKIE['uname'];

  }



?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="keywords" content="北京二手房，北京租房，北京房产">
<meta name="description" content="无中介房产交易，住宅租赁，二手房买卖">
<meta name="viewport"
  content="width=device-width, initial-scale=1, maximum-scale=1">
<title>基于智能手机、电脑的专业二手房交易平台 - 房客网</title>
<link rel="stylesheet" rev="stylesheet" href="./css/style.css" type="text/css">
<?php
  if(!((strpos($_SERVER['PHP_SELF'],"zufang.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zufang.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"ershoufang.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zufang.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"xiaoqu.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zufang.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"wenda.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/wenda.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"zhuce.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zhuce.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"login.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zhuce.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"zhaofang.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/zhaofang.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"geren.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/geren.css" type="text/css">';
  }else if(!((strpos($_SERVER['PHP_SELF'],"fangwu.php"))===false)){
    echo '<link rel="stylesheet" rev="stylesheet" href="./css/fangwu.css" type="text/css">';
  }
?>


<?php //切换城市脚本 ?>
<script type="text/javascript" src="./js/APF.js"></script>

<?php //浏览器图标?>
<link rel="icon" href="./images/favicon.ico" type="image/ico">
<link rel="shortcut icon" href="images/favicon.ico">

<script>
/*
function bust() {
    document.write = '';
    window.top.location = window.self.location;
    setTimeout(function() {
        document.body.innerHTML = '';
    },
    0);
    window.self.onload = function(evt) {
        document.body.innerHTML = '';
    };
}
if (window.top !== window.self) {
    try {
        if (window.top.location.host) {} else {
            bust();
        }
    } catch(ex) {
        bust();
    }
}*/
</script>
</head>